package com.example.love_margin.Service;


import com.example.love_margin.Entity.Search;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface SearchService {

    Object addSearchPet(Search search);
    Object deleteSearchPet(int search_id);

    Object deleteSearchPets(Integer[] search_ids);

    Object passMySearch(int search_id);

    Object updateSearchPet(Search search);
    Object selectOneSearchPet(int search_id);

    Object selectSearchPetPage(String search_pet_class,int user_id);

    List<Search> selectSearchMany(String search_pet_class,String search_pet_category, String search_pet_varieties, String key, Integer pageNum, Integer pageSize);

}
